home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / keystuff.arc / KEYSTUFF.C next >
Text File  |  1990-01-08  |  256b  |  18 lines

  1.  
  2. void keystuff(char *cmd)
  3. {register unsigned a=0;
  4.  register unsigned x=0;
  5.  
  6.  pokeb(0,0x41a,0x001e);
  7.  pokeb(0,0x41c,0x001e);
  8.  
  9.  while (cmd[a])
  10.  {
  11.    poke(0,0x41e+a*2,cmd[a]);
  12.    a++;
  13.  }
  14.  pokeb(0,0x41a,0x001e);
  15.  pokeb(0,0x41c,0x001e+a*2);
  16. }
  17.  
  18.